package com.example.pojo.redis;

import lombok.Data;
import lombok.ToString;

/**
 * @author 小苏
 * @ClassName:Student
 * @description: TODO
 * @data 2022/12/28 9:17
 * @version: 1.0
 **/
public class Student {
    private String name;
    private int score;

    public Student() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return score;
    }

    public void setNum(int score) {
        this.score = score;
    }

    public Student(String name, int score) {
        this.name = name;
        this.score = score;
    }
}
